import requests from "@/utils/request/index";

export function getCaptcha(extra?: Requests.ExtraConfig) {
  return requests<Api.GetCaptchaRes>({
    url: "/blade-auth/captcha",
    method: "get",
    extra,
  });
}

export function postTest() {
  return requests({
    url: "blade-system/dict/updateRichText",
    method: "post",
    data: { code: "product_agreement", keyValue: 1, remark: "123" },
    headers: { Accept: "application/json" },
  });
}
